package com.asset.dispoal.defaultCompanyMenu.service.converter;


import com.asset.dispoal.defaultCompanyMenu.domain.db.entity.GbMenuCompany;
import com.asset.dispoal.defaultCompanyMenu.dto.GbMenuCompanyRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author qr
 * @date 2022/3/14$
 */
@Mapper
public interface MenuCompanyConverter {

    MenuCompanyConverter INSTANCE = Mappers.getMapper(MenuCompanyConverter.class);

    List<GbMenuCompany> resToDo(List<GbMenuCompanyRequest> requests);

}
